package cn.renxuan.service.weather.json;

import cn.renxuan.http.ApiBase;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class BaiduApiBase<TData> extends ApiBase {
    private String status;
    private String message;
    private TData result;

    public BaiduApiBase() {
        // Default constructor
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public TData getResult() {
        return result;
    }

    public void setResult(TData data) {
        this.result = data;
    }
}
